3.93 \(\int \frac {x (A+B x^2)}{(a+b x^2)^3} \, dx\)

Optimal. Leaf size=32 \[ -\frac {\left (A+B x^2\right )^2}{4 \left (a+b x^2\right )^2 (A b-a B)} \]

[Out]

-1/4*(B*x^2+A)^2/(A*b-B*a)/(b*x^2+a)^2

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {444, 37} \[ -\frac {\left (A+B x^2\right )^2}{4 \left (a+b x^2\right )^2 (A b-a B)} \]

Antiderivative was successfully verified.

[In]

Int[(x*(A + B*x^2))/(a + b*x^2)^3,x]

[Out]

-(A + B*x^2)^2/(4*(A*b - a*B)*(a + b*x^2)^2)

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n +
1))/((b*c - a*d)*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 444

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && EqQ[m
- n + 1, 0]

Rubi steps

\begin {align*} \int \frac {x \left (A+B x^2\right )}{\left (a+b x^2\right )^3} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {A+B x}{(a+b x)^3} \, dx,x,x^2\right )\\ &=-\frac {\left (A+B x^2\right )^2}{4 (A b-a B) \left (a+b x^2\right )^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 30, normalized size = 0.94 \[ -\frac {B \left (a+2 b x^2\right )+A b}{4 b^2 \left (a+b x^2\right )^2} \]

Antiderivative was successfully verified.

[In]

Integrate[(x*(A + B*x^2))/(a + b*x^2)^3,x]

[Out]

-1/4*(A*b + B*(a + 2*b*x^2))/(b^2*(a + b*x^2)^2)

________________________________________________________________________________________

fricas [A]  time = 0.46, size = 42, normalized size = 1.31 \[ -\frac {2 \, B b x^{2} + B a + A b}{4 \, {\left (b^{4} x^{4} + 2 \, a b^{3} x^{2} + a^{2} b^{2}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(B*x^2+A)/(b*x^2+a)^3,x, algorithm="fricas")

[Out]

-1/4*(2*B*b*x^2 + B*a + A*b)/(b^4*x^4 + 2*a*b^3*x^2 + a^2*b^2)

________________________________________________________________________________________

giac [A]  time = 0.36, size = 28, normalized size = 0.88 \[ -\frac {2 \, B b x^{2} + B a + A b}{4 \, {\left (b x^{2} + a\right )}^{2} b^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(B*x^2+A)/(b*x^2+a)^3,x, algorithm="giac")

[Out]

-1/4*(2*B*b*x^2 + B*a + A*b)/((b*x^2 + a)^2*b^2)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 39, normalized size = 1.22 \[ -\frac {B}{2 \left (b \,x^{2}+a \right ) b^{2}}-\frac {A b -B a}{4 \left (b \,x^{2}+a \right )^{2} b^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(B*x^2+A)/(b*x^2+a)^3,x)

[Out]

-1/2*B/b^2/(b*x^2+a)-1/4*(A*b-B*a)/b^2/(b*x^2+a)^2

________________________________________________________________________________________

maxima [A]  time = 1.06, size = 42, normalized size = 1.31 \[ -\frac {2 \, B b x^{2} + B a + A b}{4 \, {\left (b^{4} x^{4} + 2 \, a b^{3} x^{2} + a^{2} b^{2}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(B*x^2+A)/(b*x^2+a)^3,x, algorithm="maxima")

[Out]

-1/4*(2*B*b*x^2 + B*a + A*b)/(b^4*x^4 + 2*a*b^3*x^2 + a^2*b^2)

________________________________________________________________________________________

mupad [B]  time = 0.07, size = 44, normalized size = 1.38 \[ -\frac {\frac {A\,b+B\,a}{4\,b^2}+\frac {B\,x^2}{2\,b}}{a^2+2\,a\,b\,x^2+b^2\,x^4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*(A + B*x^2))/(a + b*x^2)^3,x)

[Out]

-((A*b + B*a)/(4*b^2) + (B*x^2)/(2*b))/(a^2 + b^2*x^4 + 2*a*b*x^2)

________________________________________________________________________________________

sympy [A]  time = 0.52, size = 42, normalized size = 1.31 \[ \frac {- A b - B a - 2 B b x^{2}}{4 a^{2} b^{2} + 8 a b^{3} x^{2} + 4 b^{4} x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(B*x**2+A)/(b*x**2+a)**3,x)

[Out]

(-A*b - B*a - 2*B*b*x**2)/(4*a**2*b**2 + 8*a*b**3*x**2 + 4*b**4*x**4)

________________________________________________________________________________________